package com.kkb.merchant.center.api;

import com.github.pagehelper.PageInfo;
import com.kkb.merchant.center.common.pojo.UserInfo;
import org.apache.catalina.User;

import java.util.List;

public interface UserInfoService {
    List<UserInfo> selectAll();

    int addUserInfo(UserInfo userInfo);

    int updateUserInfo(UserInfo userInfo);

    int deleUserInfo(Long id);

    PageInfo<UserInfo> selectPageInfo(int pageNum,int pageSize);

    UserInfo findByUserName(String userName);
}
